package com.tender.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.tender.condition.SysMsgInfoCondition;
import com.tender.entity.SysMsgInfoEntity;

public interface SysMsgInfoService extends IService<SysMsgInfoEntity> {

    SysMsgInfoEntity detail(Long id);

    IPage<SysMsgInfoEntity> pageList(SysMsgInfoCondition condition);

    IPage<SysMsgInfoEntity> pageListUser(SysMsgInfoCondition condition);

    Boolean online(Long id);

    Boolean offline(Long id);

    Boolean update(SysMsgInfoEntity param);

}
